import request from '@/sheep/request';

const userApi = {
	get: () => {
		return request({
			url: '/member/user/get',
			method: 'GET',
		});
	},
	update: (data) => {
		return request({
			url: '/member/user/update',
			method: 'PUT',
			data
		});
	},
	updateMobileByWeiXin: (data) => {
		return request({
			url: '/member/user/update-mobile-by-weixin',
			method: 'PUT',
			data
		});
	},
};

export default userApi;